package com.bitdf.txing.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bitdf.txing.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 秒杀活动场次
 * 
 * @author lizhiwei
 * @email sunlightcs@gmail.com
 * @date 2022-05-16 21:36:42
 */
@Data
@TableName("tx_sms_seckill_session")
public class SeckillSessionEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 场次名称
	 */
	private String name;
	/**
	 * 每日开始时间
	 */
	private Date startTime;
	/**
	 * 每日结束时间
	 */
	private Date endTime;

	@TableField(exist = false)
	private List<SeckillSkuRelationEntity> relationSkus;
}
